package com.an.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 天气属性
 *
 * @author: Ann
 * @createDate: 2023/11/02 15:44:22
 * @version: 1.0.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "weather")
public class WeatherProperties {

    /**
     * 天气API url
     */
    private String weatherApiUrl;
    /**
     * 私钥
     */
    private String privateKey;
}
